import request from '@/utils/request'

export function studentInsertConsultLawyer(data) {
  return request({
    url: '/studentApi/consultLawyer/insertConsultLawyer',
    method: 'post',
    data: data
  })
}

export function lawyerFindConsultLawyerById(params) {
  return request({
    url: '/lawyerApi/consultLawyer/findConsultLawyerById',
    method: 'get',
    params: params
  })
}

export function lawyerSelectConsultLawyer(params) {
  return request({
    url: '/lawyerApi/consultLawyer/selectConsultLawyer',
    method: 'get',
    params: params
  })
}

export function lawyerUpdateConsultLawyerById(data) {
  return request({
    url: '/lawyerApi/consultLawyer/updateConsultLawyerById',
    method: 'put',
    data: data
  })
}

export function studentFindConsultLawyerById(params) {
  return request({
    url: '/studentApi/consultLawyer/findConsultLawyerById',
    method: 'get',
    params: params
  })
}

export function studentSelectConsultLawyer(params) {
  return request({
    url: '/studentApi/consultLawyer/selectConsultLawyer',
    method: 'get',
    params: params
  })
}

